package cn.edu.scau.cmi.zhuangzhihong.hibernate.client;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;

import cn.edu.scau.cmi.zhuangzhihong.hibernate.dao.Student;
import cn.edu.scau.cmi.zhuangzhihong.hibernate.dao.Teacher;
import cn.edu.scau.cmi.zhuangzhihong.hibernate.dao.TeacherHome;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class Client extends Application{

	public static void main(String args[]) {
		
		launch(args);
		
	}
 
	@Override
	public void start(Stage primaryStage) throws Exception {

		Parent root=FXMLLoader.load(getClass().getResource("view.fxml"));
		primaryStage.setTitle("Hibernate 数据库实验");
		primaryStage.setScene(new Scene(root,600,450));
		primaryStage.show();
		
	}
	
	
}
